import Main from '@/views/Main'

const alarmRouter = {
  path: '/alarm',
  component: Main,
  redirect: '/alarm/alarmManage',
  name: 'Alarm',
  meta: {
    title: 'Alarm'
  },
  children: [
    {
      path: 'alarmManage',
      component: () => import('@/views/alarm/AlarmManage'),
      name: 'AlarmManage',
      meta: { title: 'AlarmManage' }
    },
    {
      path: 'alarmSearch',
      component: () => import('@/views/alarm/AlarmSearch'),
      name: 'AlarmSearch',
      meta: { title: 'AlarmSearch' }
    },
    {
      path: 'alarmLimitSearch',
      component: () => import('@/views/alarm/AlarmLimitSearch'),
      name: 'AlarmLimitSearch',
      meta: { title: 'AlarmLimitSearch' }
    }
  ]
}
export default alarmRouter
